//
//  CCProgressHUD.m
//  
//
//  Created by its on 15/4/22.
//
//

#import "CCProgressHUD.h"

@implementation CCProgressHUD
+ (void) showHUBInView:(UIView *)view withTimeOut:(float)time str:(NSString *)str {
  [MBProgressHUD hideAllHUDsForView:view animated:NO];
  MBProgressHUD *HUD = [MBProgressHUD showHUDAddedTo:view animated:YES];
  HUD.minShowTime = time;
  HUD.labelText = str;
}

+ (void) hiddenHUBFromView:(UIView *)view {
  [MBProgressHUD hideAllHUDsForView:view animated:YES];
}

@end
